// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread 'YETI' 

:YETI_11
wait 0 
if 
   Player.Defined($PLAYER_CHAR)
jf @YETI_11 
if 
00EC:   actor $PLAYER_ACTOR sphere 0 near_point -1655.7628 -1904.1066 radius 70.0 70.0 
jf @YETI_11 
023C: load_special_actor 'STICK' as 1 // models 290-299
023C: load_special_actor 'STICK' as 2 // models 290-299 
Model.Load(#SPECIAL01)
Model.Load(#SPECIAL02)
Model.Load(#AK47)
Model.Load(#KATANA)
060A: create_decision_maker_type 0 store_to 10@ // decision\allowed\m_.ped files 
07E5: copy_decision_maker 10@ to 11@ 
038B: load_requested_models 
jump @YETI_111 

:YETI_111
wait 0 
if 
   Model.Available(#SPECIAL01)
   Model.Available(#SPECIAL02)
   Model.Available(#AK47)
   Model.Available(#KATANA) 
0@ = Actor.Create(Gang3, #SPECIAL01, -1671.479, -1974.7472, 98.3522)
Actor.GiveWeaponAndAmmo(0@, AK47, 9999)
Actor.SetImmunities(0@, 0, 0, 0, 0, 0)
Actor.Health(0@) = 10000
060B: set_actor 0@ decision_maker_to 11@ 
Actor.SetWalkStyle(0@, "MAN")
0446: set_actor 0@ dismemberment_possible 0 
05E2: AS_actor 0@ kill_actor $PLAYER_ACTOR
1@ = Actor.Create(Gang3, #SPECIAL02, -1761.9208, -1971.5018, 92.5333)
Actor.GiveWeaponAndAmmo(1@, Katana, 1)
Actor.SetImmunities(1@, 0, 1, 0, 1, 1)
Actor.Health(1@) = 15000
060B: set_actor 1@ decision_maker_to 11@ 
Actor.SetWalkStyle(1@, "PLAYER")
0446: set_actor 1@ dismemberment_possible 0 
05E2: AS_actor 1@ kill_actor $PLAYER_ACTOR  
jump @YETI_222 

:YETI_222
wait 0 
if 
   Actor.Dead(0@)
   Actor.Dead(1@) 
jump @YETI_276 

:YETI_249
wait 0 
if 
   Actor.Dead($PLAYER_ACTOR)
jf @YETI_222 
jump @YETI_310 

:YETI_276
wait 0 
0394: play_music 2 
Player.Money($PLAYER_CHAR) += 1500000
Actor.RemoveReferences(0@)
Actor.RemoveReferences(1@)
0296: unload_special_actor 1
0296: unload_special_actor 2 
jump @YETI_331 

:YETI_310
Actor.RemoveReferences(0@)
Actor.RemoveReferences(1@)
0296: unload_special_actor 1
0296: unload_special_actor 2 
wait 15000 
jump @YETI_11 

:YETI_331
wait 0 
0A93: end_custom_thread 
